From f25a7171a1a740ec22e6a8ccc1b75fd348b10d91 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 11 Jan 2011 18:16:26 +0000 Subject: [PATCH] libxl: log which PCI device could not be reset. Signed-off-by: Ian Campbell Committed-by: Ian Jackson --- tools/libxl/libxl_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c index e7312e2f48..29814b00ba 100644 --- a/tools/libxl/libxl_pci.c +++ b/tools/libxl/libxl_pci.c @@ -756,7 +756,7 @@ static int libxl_device_pci_reset(libxl__gc *gc, unsigned int domain, unsigned i return rc < 0 ? rc : 0; } if (errno == ENOENT) { - LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "The kernel doesn't support PCI device reset from sysfs"); + LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "The kernel doesn't support reset from sysfs for PCI device "PCI_BDF, domain, bus, dev, func); } else { LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, "Failed to access reset path %s", reset); } -- 2.30.2